#pragma once
#include "../../../PocelainMacro.h"
#include "../../Uniform.h"
#include <string>
#include <map>

POCELAIN_NAMESPACE_BEGIN
class UniformsLib
{
public:
    typedef std::map<std::string,std::map<std::string,IUniform*>> lib_t;
//    static const lib_t& getUniformsLib(){return smLib;};
    static std::map<std::string,IUniform*> getUniforms(const std::string &name);
private:
    static lib_t smLib;
};

POCELAIN_NAMESPACE_END
